//
//  mainCollectionView.h
//  store
//
//  Created by zhouzhouzhou on 2018/9/26.
//  Copyright © 2018年 zhou. All rights reserved.
//

#import <UIKit/UIKit.h>


@class STMainCollectionView;
@protocol STMainCollectionViewDelegate <NSObject>

@optional
-(void)mainSpaceView:(STMainCollectionView *)SceneView didSelectItemAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface STMainCollectionView : UIView< UICollectionViewDataSource,UICollectionViewDelegateFlowLayout,
UICollectionViewDelegate>{
    UICollectionView *mainCollectionView;
    CGRect collectionFrame;
}

@property(nonatomic,strong)NSArray * mainCellArr;
@property(nonatomic,weak)id<STMainCollectionViewDelegate> delegate;
-(void)setMainSpaceCellView;

@end
